home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
- <html>
-
- <head>
- <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Microsoft FrontPage 2.0">
- <title>Urthman's Quick MDB Builder v1.0</title>
- </head>
-
- <body bgcolor="#A3CDDA" text="#000000">
- <div align="center"><center>
-
- <table border="1" cellpadding="8" cellspacing="0" width="100%"
- bgcolor="#5A8BAB">
- <tr>
- <td align="center" width="100%"><font color="#FFFF00"
- size="6" face="Arial"><em><strong><b>Urthman's MDB
- Construction Kit.</b></strong></em></font></td>
- </tr>
- </table>
- </center></div>
-
- <p align="center"><font size="4" face="Arial"><strong>Database in
- a can? -- Just add water?</strong></font><font face="Arial"><strong><br>
- The Fast Path to Database Design</strong></font></p>
-
- <hr>
-
- <p><font size="2" face="Arial">This program has been built as a
- means to design and build Microsoft Access databases quickly from
- available source code edits for the purpose of accelerating your
- development projects. While this program can knock out a
- functional database with an equally functional primary key,
- Microsoft Access should always be used to test and fine tune the
- layout. The Urthman's MDB Construction Kit is NOT designed to be
- used as a substitute for the real thing -- it's just a design
- aid.</font></p>
- <div align="center"><center>
-
- <table border="0" cellpadding="7" width="75%">
- <tr>
- <td align="center" colspan="2" width="100%"
- bgcolor="#008080"><font color="#00FF00" size="4"
- face="Arial"><strong>Documentation Contents</strong></font></td>
- </tr>
- <tr>
- <td align="center" width="50%"><a href="#General"><font
- face="Arial"><strong>General Information</strong></font></a></td>
- <td align="center" width="50%"><a href="#Design"><font
- face="Arial"><strong>Design Notes</strong></font></a></td>
- </tr>
- <tr>
- <td align="center" width="50%"><a href="#Unregistered"><font
- face="Arial"><strong>Unregistered Features</strong></font></a></td>
- <td align="center" width="50%"><a
- href="Urthman's%20MDB%20Scripts.htm"><font face="Arial"><strong>Scripts
- and Mnemonics</strong></font></a></td>
- </tr>
- <tr>
- <td align="center" width="50%"><a href="#Registered"><font
- face="Arial"><strong>Registered Features</strong></font></a></td>
- <td align="center" width="50%"><a
- href="Urthman's%20MDB%20Headers.htm"><font face="Arial"><strong>Headers
- and Trailers</strong></font></a></td>
- </tr>
- <tr>
- <td align="center" width="50%"><a href="#Registration"><font
- face="Arial"><strong>Registration</strong></font></a></td>
- <td align="center" width="50%"><a
- href="Urthman's%20MDB%20Module.htm"><font face="Arial"><strong>Using
- the Code Module</strong></font></a></td>
- </tr>
- <tr>
- <td align="center" width="50%"><a href="#Contact"><font
- face="Arial"><strong>Contact Information</strong></font></a></td>
- <td align="center" width="50%"> </td>
- </tr>
- </table>
- </center></div>
-
- <hr>
- <div align="center"><center>
-
- <table border="0" cellpadding="8" cellspacing="8" width="100%">
- <tr>
- <td align="right" valign="top" width="15%"
- bgcolor="#C0C0C0"><font color="#800080" size="2"
- face="Arial"><strong>1. </strong></font><a name="General"><font
- color="#800080" size="2" face="Arial"><strong>General</strong></font></a><font
- color="#800080" size="2" face="Arial"><strong> Info:</strong></font></td>
- <td valign="top" width="85%"><font size="2" face="Arial"><strong>Urthman's
- MDB Construction Kit</strong> is a tool for constructing
- Microsoft Access databases. Databases can be constructed
- using simple text-file scripts, imported from an existing
- Microsoft Access database, generated from basic
- predefined templates, or defined completely from the
- ground up.</font><p><font size="2" face="Arial">The table
- editor is designed only for basic record definition
- functions, but includes the means to define importable
- and exportable ASCII files, including fixed record
- lengths and conventional comma and quote-comma delimited
- files. The table editor also has a section for defining
- the Primary Key.</font></p>
- <p><font size="2" face="Arial">The text-file scripts are
- essentially a beefed up version of typical Visual Basic
- variable declaration statements. The program reads a text
- file with these VB statements, and converts this
- information into a corresponding Microsoft Access
- database file. For more information, see the page on </font><a
- href="Urthman's%20Quick%20MDB%20Scripts.htm"><font
- size="2" face="Arial"><strong>User Defined Mnemonics</strong></font></a><font
- size="2" face="Arial">.</font></p>
- <hr>
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" width="15%"
- bgcolor="#C0C0C0"><font color="#800080" size="2"
- face="Arial"><strong>2. </strong></font><a
- name="Unregistered"><font color="#800080" size="2"
- face="Arial"><strong>Unregistered</strong></font></a><font
- color="#800080" size="2" face="Arial"><strong> Features:</strong></font></td>
- <td valign="top" width="85%"><font size="2" face="Arial">Unregistered,
- the Urthman's MDB Construction Kit is a tool for
- constructing database files as described above. The
- program will create the database and all of it's tables,
- run Microsoft Access and the Urthman's MDB Code Generator
- as needed. </font><p><font size="2" face="Arial">Without
- registration, the program is limited to sixteen table
- definitions, eight database definitions and four user
- defined script mnemonics. The generated code is also
- restricted to data export code only.</font></p>
- <hr>
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" width="15%"
- bgcolor="#C0C0C0"><font color="#800080" size="2"
- face="Arial"><strong>3. </strong></font><a
- name="Registered"><font color="#800080" size="2"
- face="Arial"><strong>Registered</strong></font></a><font
- color="#800080" size="2" face="Arial"><strong> Features:</strong></font></td>
- <td valign="top" width="85%"><font size="2" face="Arial">When
- registered, the table, database and user defined
- mnemonics limitations are lifted. The option for
- generating both the Import and Export code is made
- available.</font><p><font size="2" face="Arial"><strong>IMPORTANT
- NOTICE:</strong> The registration option is <strong>NOT</strong>
- available to systems that </font><font size="3"
- face="Arial">do</font><font size="2" face="Arial"> </font><font
- size="3" face="Arial">not</font><font size="2"
- face="Arial"> have either Microsoft Access 95 or 97
- installed. This program is NOT designed as an alternative
- to Microsoft Access, but as a tool to aid programmers in
- the design and development of their projects.</font></p>
- <hr>
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" width="15%"
- bgcolor="#C0C0C0"><font color="#800080" size="2"
- face="Arial"><strong>4. </strong></font><a name="Design"><font
- color="#800080" size="2" face="Arial"><strong>Design </strong></font></a><font
- color="#800080" size="2" face="Arial"><strong>Notes:</strong></font></td>
- <td valign="top" width="85%"><font size="2" face="Arial">The
- Import and Export code modules are generated with the
- assumption that the Urthman's MDB Code Generator has been
- or will be used to generate the general function code
- module for the created database. All references to other
- code module routines and data variables are constructed
- around this assumption.</font><p><font size="2"
- face="Arial"><strong>The import code</strong> uses the
- same method for reading delimited files and fixed length
- records. Delimited files use a one-size-fits-all scheme
- for breaking out the individual fields. This allows for a
- single array for all tables regardless of the number of
- elements, and all elements are checked for leading and
- trailing quotes, which are stripped off before writing
- the element into the database.</font></p>
- <p><font size="2" face="Arial">Note that when importing
- text to boolean fields, the specific content of the
- importing data is not relevant to the result.
- "T", "True", "Y",
- "Yes", and "1" all result in True,
- while "F", "False", "N",
- "No" and "0" all result in False.
- Actually, <strong>any</strong> word beginning with
- "T" or "Y" results in a True, while
- all other characters are False.</font></p>
- <p><font size="2" face="Arial"><strong>The export code</strong>
- is much more reliant on specifics, since the output needs
- to meet the specific criteria of the target, not making
- any assumptions as to the flexibility of that target. For
- this purpose, the output files can be either comma
- delimited, quote and comma delimited, or standard CSV
- files where the string and memo data are in quotes, but
- the numerics and dates are without quotes. </font></p>
- <p><font size="2" face="Arial">The Boolean data type can
- be exported as either: "Y" or "N";
- "Yes" or "No"; "T" or
- "F"; "True" or "False";
- "1" or "0". This is set up in the
- table definition section of the program. In either case,
- the Boolean data is treated like string data, and for CSV
- formats, is enclosed in quotes.</font></p>
- <p><font size="2" face="Arial">When working with <strong>fixed
- length records</strong>, a public variable named
- "RecordSize" is made available for controlling
- the data length of each record. If "RecordSize"
- is zero, then the data output is left as is, where the
- record size is dependant entirely on the collective field
- lengths alone. If "RecordSize" is less than the
- resulting output data length, the output record size is
- truncated to the specified length. If
- "RecordSize" is greater than the resulting
- output data length, then the output record is padded with
- spaces to the specified length.</font></p>
- <p><font size="2" face="Arial">All of the code modules
- generated using the Urthman's MDB Construction Kit result
- in the same collection of public subroutines and
- functions for use in your project.</font></p>
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" colspan="2" width="15%"><div
- align="center"><center><table border="1" cellpadding="4"
- cellspacing="1" width="100%" bgcolor="#FFFFFF">
- <tr>
- <td align="center" valign="top" width="40%"
- bgcolor="#008080"><font color="#00FF00" size="2"
- face="Arial"><strong>Public Subroutines</strong></font></td>
- <td align="center" valign="top" width="60%"
- bgcolor="#008080"><font color="#00FF00" size="2"
- face="Arial"><strong>Function Description</strong></font></td>
- </tr>
- <tr>
- <td valign="top" width="40%"><font size="2"
- face="Arial"><strong>OpenImport(TableName,
- FileName)</strong></font></td>
- <td valign="top" width="60%"><font size="2"
- face="Arial">Opens the ASCII file <strong>FileName</strong>
- for importing into the table <strong>TableName</strong>.
- </font><p><font size="2" face="Arial">This
- routine also dynamically allocates the arrays
- used in the Import process.</font></p>
- </td>
- </tr>
- <tr>
- <td valign="top" width="40%"><font size="2"
- face="Arial"><strong>ImportData</strong></font></td>
- <td valign="top" width="60%"><font size="2"
- face="Arial"><strong>Boolean</strong>: Reads a
- single record from the file <strong>FileName</strong>,
- distributes the data elements into the
- appropriate table related variables and saves the
- data to the table <strong>TableName</strong>. </font><p><font
- size="2" face="Arial">Data variables include <strong>RecType</strong>
- to report header and trailer records when
- encountered. Data variables also include the
- header and trailer variables with fixed length
- records. Refer to the generated code module for
- specifics.</font></p>
- <p><font size="2" face="Arial">Returns a <strong>False</strong>
- when there is no more data, otherwise returns a <strong>True</strong>.</font></p>
- </td>
- </tr>
- <tr>
- <td valign="top" width="40%"><font size="2"
- face="Arial"><strong>OpenExport(TableName,
- FileName)</strong></font></td>
- <td valign="top" width="60%"><font size="2"
- face="Arial">Opens the ASCII file <strong>FileName</strong>
- for exporting data from the table <strong>TableName</strong>.
- </font><p><font size="2" face="Arial">This
- routine also dynamically allocates the arrays
- used in the Import process.</font></p>
- </td>
- </tr>
- <tr>
- <td valign="top" width="40%"><font size="2"
- face="Arial"><strong>ExportData</strong></font></td>
- <td valign="top" width="60%"><font size="2"
- face="Arial"><strong>Long</strong>: Copies and
- converts the table related data variables of the
- table <strong>TableName </strong>into an array of
- string variables, then builds and writes a single
- record to the file <strong>FileName</strong>.</font><p><font
- size="2" face="Arial">Returns a count of records
- written to the current ASCII text file.</font></p>
- </td>
- </tr>
- <tr>
- <td valign="top" width="40%"><font size="2"
- face="Arial"><strong>CloseFile</strong></font></td>
- <td valign="top" width="60%"><font size="2"
- face="Arial">Closes the currently open file. The
- file must be closed before another Import or
- Export file can be opened.</font></td>
- </tr>
- <tr>
- <td valign="top" width="40%"><font size="2"
- face="Arial"><strong>Export[</strong>Header-or-Trailer-Name<strong>]</strong></font></td>
- <td valign="top" width="60%"><font size="2"
- face="Arial">Writes the designated header or
- trailer record to the currently opened text file.
- For use with fixed length records only.</font></td>
- </tr>
- </table>
- </center></div></td>
- </tr>
- <tr>
- <td align="right" valign="top" width="15%"
- bgcolor="#C0C0C0"><font color="#800080" size="2"
- face="Arial"><strong>5. </strong></font><a
- name="Registration"><font color="#800080" size="2"
- face="Arial"><strong>Registration</strong></font></a><font
- color="#800080" size="2" face="Arial"><strong>:</strong></font></td>
- <td valign="top" width="85%"><font size="2" face="Arial">Send
- your full name, company name, address, phone number and
- email address along with a check (or money order) payable
- to </font><a href="umcgdocs.htm#Contact"><font size="2"
- face="Arial">John Stanley Enterprises</font></a><font
- size="2" face="Arial"> for <strong>$89</strong> for each
- single user license. I will email (or mail) a
- registration code to you for unlocking the registered
- features.</font><p><font size="2" face="Arial">Registered
- users will receive periodic notification of updates as
- they might occur via Email. This will continue for the
- duration of the version 1.x life cycle.</font></p>
- <p><font size="2" face="Arial">Note: John Stanley
- Enterprises reserves the right to refuse to issue
- licenses for nicknames and handles, and most likely will.
- Site licenses will be issued to real names only, and
- multiple licenses can and will be issued to company or
- corporate names.</font></p>
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" width="15%"
- bgcolor="#C0C0C0"><font color="#800080" size="2"
- face="Arial"><strong>6. </strong></font><a name="Contact"><font
- color="#800080" size="2" face="Arial"><strong>Contact
- Options</strong></font></a><font color="#800080" size="2"
- face="Arial"><strong>:</strong></font></td>
- <td valign="top" width="85%"><div align="center"><center><table
- border="0" cellpadding="8" cellspacing="0" width="100%">
- <tr>
- <td><a
- href="mailto:urthman@usa.net?subject=UQMB-Bug"><font
- size="2" face="Arial"><strong>Report a bug or
- problem via Email</strong></font></a></td>
- </tr>
- <tr>
- <td><a
- href="mailto:urthman@usa.net?subject=UQMB-Comment"><font
- size="2" face="Arial"><strong>Send a comment via
- Email</strong></font></a></td>
- </tr>
- <tr>
- <td><font size="2" face="Arial">Optionally,
- report bugs or make comments to the mailing
- address below</font></td>
- </tr>
- </table>
- </center></div></td>
- </tr>
- </table>
- </center></div><div align="center"><center>
-
- <table border="0" cellpadding="8" cellspacing="0" width="100%">
- <tr>
- <td align="center" width="33%"><div align="center"><center><table
- border="0" cellpadding="8" cellspacing="0"
- bgcolor="#C0C0C0">
- <tr>
- <td align="right" valign="top"><font
- color="#000000" size="1" face="Arial"><strong>Contact:</strong></font></td>
- <td valign="top"><font color="#000000" size="1"
- face="Arial"><strong>John Stanley Enterprises</strong><br>
- PO Box 1672<br>
- Valrico, FL 33595-1672</font></td>
- </tr>
- <tr>
- <td align="right" valign="top"><font size="1"
- face="Arial"><strong>URL:</strong></font></td>
- <td><a href="http://www.a-znet.com/jse/"><font
- size="1" face="Arial"><strong>http://www.a-znet.com/jse/</strong></font></a></td>
- </tr>
- <tr>
- <td align="right" valign="top"><font
- color="#000000" size="1" face="Arial"><strong>Email:</strong></font></td>
- <td valign="top"><a href="mailto:urthman@usa.net"><font
- color="#000000" size="1" face="Arial"><strong>urthman@usa.net</strong></font></a><font
- color="#000000" size="1" face="Arial"><strong> </strong></font></td>
- </tr>
- </table>
- </center></div></td>
- <td align="center" width="33%"> </td>
- <td align="center" width="33%"><font size="1"
- face="Arial">Microsoft, Windows, NT and Visual Basic are
- registered trademarks of the Microsoft Corporation.</font></td>
- </tr>
- </table>
- </center></div>
- </body>
- </html>
-